package com.thz.houserental.domain.house;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface HouseMapper extends BaseMapper<House> {
    Page<HouseVo> queryPage(
            @Param("currentUserId") String currentUserId,
            @Param(Constants.WRAPPER) QueryWrapper<House> queryWrapper, 
            @Param("housePage") Page<HouseVo> housePage);
}
